﻿@using System.Web.UI.WebControls
@using Bonesystem.Extensions
@using DevExpress.Web.Mvc
@using DevExpress.Web.Mvc.UI
@model BoneSystem.Business.Entity.ItemComercial.ProdutoMercadoria.ClassesRelacionadas.Caracteristicas
@{
    Html.DevExpress().FormLayout(setting =>
    {
        setting.Name = "formCaracteristicas";
        setting.Width = Unit.Pixel(600);
        setting.Height = Unit.Pixel(300);
        
        var txtDescricao = setting.Items.Add(model => model.Descricao, settings =>
        {
            settings.NestedExtensionType = FormLayoutNestedExtensionItemType.TextBox;
            
        });
        Html.TextBoxFor(model=>model.Descricao, txtDescricao);
        
    }).Render();
    
}
